.content {
    // background-color: pink;
    width: 100%;
    background-color: rgb(245, 247, 250);
    // margin: 0 auto;

    // height: 320px;
    // display: grid;
    // place-items: center;
    margin-top: 1rem;
}

.contentmid {
    display: flex;
    justify-content: center;
}

img {
    object-fit: cover;
}

.img_div {
    // border-radius: .625rem;
    display: block;
    position: relative;
}

.mask {
    position: absolute;
    background: rgb(0, 0, 0);
    color: #ffffff;
    opacity: 0;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: .625rem;
    // pointer-events:none;
}

.img_div:hover .mask {
    opacity: 0.2;
    transition: 0.5s;
}